//
//  HMBaseTool.h
//  黑马微博-wzy
//
//  Created by Mac on 2017/2/16.
//  Copyright © 2017年 Mac. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface HMBaseTool : NSObject

//GET 请求
+ (void)getWithUrl:(NSString *)url params:(id)params resultClass:(Class)resultClass success:(void(^)(id))success failure:(void(^)(NSError *))failure;
//POST 请求
+ (void)postWithUrl:(NSString *)url params:(id)params resultClass:(Class)resultClass success:(void(^)(id))success failure:(void(^)(NSError *))failure;




@end
